import java.io.Serializable;


@SuppressWarnings("serial")
public class CwEntry extends Entry implements Serializable {
	private int x;
	private int y;
	private Direction d;
	
	public CwEntry(String word, String clue, int x, int y, Direction d)
	{
		super(word, clue);
		this.x = x;
		this.y = y;
		this.d = d;
	}
	
	public CwEntry(Entry e, int x, int y, Direction d)
	{
		super(e.getWord(), e.getClue());
		this.x = x;
		this.y = y;
		this.d = d;		
	}
	
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	public Direction getD() {
		return d;
	}
}
